<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../static/css/style.css" rel="stylesheet" type="text/css" />
<link href="../static/css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../static/js/jquery.js"></script>
<script type="text/javascript" src="../static/js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="../static/js/select-ui.min.js"></script>
<script type="text/javascript" src="../static/editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>

<script type="text/javascript">
$(document).ready(function(e) {

	$(".select3").uedSelect({
		width : 152
	});
});
</script>
</head>

<body class="sarchbody">

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">退房</a></li>
    </ul>
    </div>

    <div class="formbody">


    <div id="usual1" class="usual">


    <form action="/checkout/" method="post">
    <ul class="seachform1">

    <li><label>房间号</label><input name="roomid" type="text" class="scinput1" /></li>




    </ul>


    <ul class="seachform1">
    <li class="sarchbtn"><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/>   </li>
    </ul>
    </form>

    <script language="javascript">
	$(document).ready(function()
{
    $(".scbtn1").click(function()
    {
        if( $(".seachform2").hasClass("hideclass") )
        {
            $(".seachform2").removeClass("hideClass");
        }
        else
        {
            $(".seachform2").addClass("hideClass");
        }
    });
});


	</script>


    <script type="text/javascript">
$(document).ready(function(){
  $(".scbtn1").click(function(){
  $(".seachform2").fadeIn(200);
  });


});
</script>




    <div class="formtitle"><span>查询结果</span></div>

    <table class="tablelist">
    	<thead>
    	<tr>
        <th>编号<i class="sort"><img src="../static/images/px.gif" /></i></th>
        <th>姓名</th>
        <th>联系方式</th>
            <th>是否外籍</th>
            <th>入住时间</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {% if obj is not None %}
            <form action="/checkouto/" method="post">
            <tr><td>{{ obj.id }}</td>
            <td>{{ obj.name }}</td>
            <td>{{ obj.phone }}</td>
            <td>{{ obj.place }}</td>
                <td>{{ obj.indate }}</td>
                <input type="hidden" name="roomid" value="{{ obj.roomid }}" />
            <td><input type="submit" style="color: black; background-color: transparent; border: none;" class="tablelink" value="退房" /></td>
            </tr>
            </form>
        {% endif %}

        </tbody>
    </table>



	</div>




    </div>


</body>

</html>